home *** CD-ROM | disk | FTP | other *** search
/ IRIX Installation Tools & Overlays 2002 November / SGI IRIX Installation Tools & Overlays 2002 November - Disc 1.iso / dist / roboinst.idb / usr / share / src / RoboInst / new63 / mrconfig.z / mrconfig
Text File  |  2002-10-15  |  4KB  |  88 lines

  1. # New to RoboInst 1.1 and the 6.5.2 miniroot (installation tools) is the
  2. #  ability to install older OS versions.
  3. # This is an example of clean installing an IRIX 6.3 system.
  4. # A selections file based upon an existing system would probably be
  5. #  a better choice in the long run.
  6. # NOTE that it is mandatory to install the latest XFS patch (patch3290
  7. #  "XFS rollup #7 for IRIX 6.3" or its successor) and its prereq patches
  8. #  during the RoboInst session, or the kernel will not be able to mount
  9. #  the root filesystem!
  10. # You must also install roboinst.sw.client last for a recent sash so that
  11. #  the system is bootable.
  12.  
  13. version 1
  14.  
  15. # logs to an IP address, not a hostname
  16. loghost  10.62.51.110
  17.  
  18. # repartition this
  19. disksetup
  20. partition systemdisk standard root /
  21.  
  22. preinst echo "poor man's nameservice: appending to miniroot hosts file..."
  23. preinst echo '10.26.80.118 dist.my.domain dist' >> /etc/hosts 2>/dev/null
  24. preinst echo '10.62.51.110 server.my.domain server' >> /etc/hosts 2>/dev/null
  25.  
  26. # Uncommenting the onerror line below causes inst to stop
  27. # if there are any installation conflicts, and wait for
  28. # you to manually make corrections.
  29. #onerror wait
  30.  
  31. setenv BASE dist:/os/irix
  32. inst from $BASE/irix-6.3-o2-10k
  33. inst open $BASE/irix-6.3-apps-august-1997
  34. inst open $BASE/onc3-nfs3-6.3
  35. # patchsets may be better installed live...
  36. #inst open $BASE/patchsets/44
  37. #inst open $BASE/patchsets/60
  38. # this XFS rollup patch needed for the kernel to mount the
  39. #  miniroot-created filesystem
  40. inst open $BASE/patches/patch3290/dist
  41. # without this patch, the kernel will fail to link
  42. inst open $BASE/patches/patch2973/dist
  43. # this patch (3319) is also in patchset 44, so don't duplicate...
  44. inst open $BASE/patches/patch3319/dist
  45. inst keep *
  46. inst install required
  47. inst install eoe.*.gifts_perl* eoe.sw.termbase eoe.sw.usrshare
  48. inst install eoe.*.nds compiler_eoe.sw32.lib eoe.sw.xfs eoe.sw.xlv
  49. # needed for the kernel to link, but is not tagged "required":
  50. inst install dmedia_eoe.sw.base
  51. inst install default desktop_base x_eoe motif_eoe desktop_eoe 4Dwm
  52. inst install default netscape_gold
  53. inst install default nfs onc3_eoe
  54. inst keep *.books
  55. inst install applicablepatches
  56. inst install prereqs
  57. inst go
  58. inst from $BASE/misc/roboinst
  59. inst install default roboinst
  60. inst go
  61. inst set rqs_task rqsread
  62.  
  63. # minimum configure
  64. # can't use the perl-based post configure since the perl supplied with
  65. #  6.3 is too old.
  66. postinst echo "starting trivial post configuration"
  67. postinst echo 'host1.my.domain' > /root/etc/sys_id
  68. postinst grep -v host1 /root/etc/hosts > /root/etc/hosts-N
  69. postinst echo '10.62.51.133    host1.my.domain host1' >> /root/etc/hosts-N
  70. postinst mv /root/etc/hosts-N /root/etc/hosts
  71. postinst if ! test -f /root/etc/resolv.conf; then
  72. postinst    echo "domain my.domain" > /root/etc/resolv.conf
  73. postinst    echo "nameserver 10.62.51.3" >> /root/etc/resolv.conf
  74. postinst    echo "nameserver 10.62.51.2" >> /root/etc/resolv.conf
  75. postinst fi
  76. postinst echo "my.domain" > /root/var/yp/ypdomain
  77. postinst if ! test -f /root/etc/config/ifconfig-1.options; then
  78. postinst    echo 'netmask 0xffffff00' > /root/etc/config/ifconfig-1.options
  79. postinst fi
  80. postinst chroot /root /etc/chkconfig -f network on
  81. postinst chroot /root /etc/chkconfig -f autoconfig_ipaddress off
  82. postinst chroot /root /etc/chkconfig -f firsttimeprograms off
  83. postinst chroot /root /etc/chkconfig -f yp on
  84. postinst chroot /root /etc/chkconfig -f nds on
  85. #
  86. # This is a minimal set of selections and patches appropriate for a basic
  87. # system. Tested on an R5000 O2.
  88.